const Layout = () => import('@/layout/index.vue')
import store from '@/store'
export default {
  path: '/xfSupervise',
  component: Layout,
  redirect: '/xfSupervise/personSuperviseMange',
  name: 'xfSupervise',
  meta: {
    title: '首页',
    icon: 'sidebar-menu',
    badge: () => store.state.aside.total
  },
  children: [
    {
      path: 'largeScreenMonitoring',
      name: 'largeScreenMonitoring',
      component: () => import('@/views/xfSupervise/largeScreenMonitoring.vue'),
      meta: {
        title: '监控大屏',
        badge: () => store.state.aside.total
      }
    },
    {
      path: 'organization',
      name: 'organization',
      component: () => import('@/views/organization/index.vue'),
      meta: {
        title: '组织架构'
      }
    },
    {
      path: 'orgTree',
      name: 'orgTree',
      component: () => import('@/views/orgTree/index.vue'),
      meta: {
        title: '组织架构'
      }
    },
    {
      path: 'microFireProtection',
      name: 'microFireProtection',
      component: () => import('@/views/microFireProtection/index.vue'),
      meta: {
        title: '微型消防站'
      }
    },
    {
      path: 'video',
      name: 'video',
      component: () => import('@/views/xfSupervise/components/video.vue'),
      meta: {
        sidebar: false,
        title: '视频'
      }
    },
    {
      path: 'policeIntelligenceDaily',
      name: 'policeIntelligenceDaily',
      component: () => import('@/views/alarmMonitoring/policeIntelligenceDaily.vue'),
      meta: {
        title: '警情日报'
      }
    },
    {
      path: 'flueClean',
      name: 'flueClean',
      component: () => import('@/views/flueClean/index.vue'),
      meta: {
        title: '烟道清洗记录'
      }
    },
    {
      path: 'chuchangjiaoyan',
      name: 'chuchangjiaoyan',
      component: () => import('@/views/miehuoqi/chuchangjiaoyan/index.vue'),
      meta: {
        title: '灭火器管理'
      }
    },
    {
      path: 'daoqichaxun',
      name: 'daoqichaxun',
      component: () => import('@/views/miehuoqi/daoqichaxun/index.vue'),
      meta: {
        title: '到期查询'
      }
    },
    {
        path: 'guoqi',
        name: 'guoqi',
        component: () => import('@/views/miehuoqi/guoqi/index.vue'),
        meta: {
          title: '过期查询'
        }
      },
    {
      path: 'guanlihetong',
      name: 'guanlihetong',
      component: () => import('@/views/miehuoqi/guanlihetong/index.vue'),
      meta: {
        title: '灭火器管理'
      }
    },
    {
      path: 'weixiuhetong',
      name: 'weixiuhetong',
      component: () => import('@/views/miehuoqi/weixiuhetong/index.vue'),
      meta: {
        title: '入库校验'
      }
    },
    {
      path: 'study',
      name: 'study',
      component: () => import('@/views/study/index.vue'),
      meta: {
        title: '学习统计'
      }
    },
    {
      path: 'zhiban',
      name: 'zhiban',
      component: () => import('@/views/zhiban/index.vue'),
      meta: {
        title: '学习管理'
      }
    },
    {
      path: 'pinggubaogao',
      name: 'pinggubaogao',
      component: () => import('@/views/pinggubaogao/index.vue'),
      meta: {
        title: '评估报告'
      }
    },
    {
      path: 'dianweitu',
      name: 'dianweitu',
      component: () => import('@/views/dianweitu/index.vue'),
      meta: {
        title: '学习管理'
      }
    },
    {
      path: 'dianweitu2',
      name: 'dianweitu2',
      component: () => import('@/views/dianweitu/test1.vue'),
      meta: {
        title: '学习管理'
      }
    },
    {
      path: 'thirdOneClose2',
      name: 'thirdOneClose2',
      component: () => import('@/views/thirdOneClose/index.vue'),
      meta: {
        title: '三关一闭审核'
      }
    }
  ]
}
